package cn.saddyfire.pattern.factory.config_factory;

/**
 * @author Dee
 * @date 2024/1/22
 * <p>Description:
 */
public class Test {
    public static void main(String[] args) {
        Coffee coffee = CoffeeFactory.craeteCoffee("american");
        System.out.println(coffee.getName());
        System.out.println("===========");
        Coffee latte = CoffeeFactory.craeteCoffee("latte");
        System.out.println(coffee.getName());
    }
}
